<?php

/**
 * event actions.
 *
 * @package    Nika
 * @subpackage event
 * @author     Alexey Shapran (alexey.shapran@gmail.com)
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class eventComponents extends sfComponents
{
	public function executeShownearest(sfWebRequest $request)
	{
		//$near_or_late;  1(2) - show next(last) $NUM_OF_EVENTS
		//$request->getParam;
		$this->events = Event::viewevents($this->near_or_late);
	}
}
